<template>
  <template v-if="type === 'config-mobile' || type === 'mobile'"> </template>
  <div v-if="type === 'config-table' || type === 'table'" class="v-form-item-wrapper">
    <div class="form-item">
      {{ config.content }}
    </div>
    <pre v-if="config.tips"><i class="icon iconfont">&#xe77e;</i>{{ config.tips }}</pre>
  </div>
</template>

<script setup lang="ts">
defineProps<{
  id: string
  tdId: string
  formType: string
  formTypeName: string
  config: any

  type: string  // config table mobile print
}>()
</script>
